<div id="container_content_center_right">
<?php echo $search_form; ?>
<div class="navigate">
<div class="L"></div>
<div class="C"><a class="home"
	href="<?php echo base_url() ?>" lang="vi">Trang chủ</a><img
	src="<?php echo base_url('image/navigate_icon.gif') ?>"><span><?php echo $product['name'] ?></span></div>
<div class="R"></div>
</div>
<div class="module_top">
<div class="fl"></div>
<div class="fr"></div>
</div>
<div class="padding module_larger_border">
<div class="product_detail product_detail_v2">
<div class="fl2">
<div class="picture_fullsize"><a class="previous"
	href="javascript:;" style="left: auto; display: none;"></a><a
	class="next" href="javascript:;" style="left: auto; display: none;"></a>
<div class="loading hidden" style="left: auto;"></div>
<table align="center" cellpadding="0" cellspacing="0">
	<tbody>
		<tr>
			<td>
				<!--
				<div id="gallery">
				    <div id="slides">			    
					    <div class="slide"><img src="<?php echo base_url('upload/image/products/'.$product['image']) ?>" width="420" height="400" alt="side" /></div>
					    <div class="slide"><img src="<?php echo base_url('upload/image/products/'.$product['image1']) ?>" width="420" height="400" alt="side" /></div>
					    <div class="slide"><img src="<?php echo base_url('upload/image/products/'.$product['image2']) ?>" width="420" height="400" alt="side" /></div>
					    <div class="slide"><img src="<?php echo base_url('upload/image/products/'.$product['image3']) ?>" width="420" height="400" alt="side" /></div>
			    	</div>
			    </div>        
				-->
				<div class="picture_larger" style="margin-left:34px; width:420px;"><img alt="<?php echo $product['name'] ?>"
				title="Giá: <?php echo $product['price'] ?> VNĐ (Ảnh 1/4)"
				src="<?php echo base_url('upload/image/products/'.$product['image']) ?>" width="280px"
				onclick="productPictureColorbox(0)"></div>
			</td>
		</tr>
	</tbody>
</table>
</div>
<script type="text/javascript" src="./detail_files/jquery.cloud-zoom.js"></script><script
	type="text/javascript">function productPictureColorbox(id){$(".product_detail .fl a[rel='product_picture']:eq(" + id + ")").click();}</script>
<div class="picture_thumbnail_list">
<!--	
<div id="menu">    
    <ul>
        <li class="fbar">&nbsp;</li>
        <li class="menuItem"><a href=""><img src="<?php echo base_url('upload/image/products/'.$product['thumb']) ?>" alt="thumbnail" width="24" height="24"/></a></li>
        <li class="menuItem"><a href=""><img src="<?php echo base_url('upload/image/products/'.$product['image1_thumb']) ?>" alt="thumbnail" width="24" height="24"/></a></li>
        <li class="menuItem"><a href=""><img src="<?php echo base_url('upload/image/products/'.$product['image2_thumb']) ?>" alt="thumbnail" width="24" height="24"/></a></li>
        <li class="menuItem"><a href=""><img src="<?php echo base_url('upload/image/products/'.$product['image3_thumb']) ?>" alt="thumbnail" width="24" height="24"/></a></li>
    </ul>       
</div>
-->
<table class="picture_thumbnail" cellpadding="0" style="float: left; margin-left:88px;"
	cellspacing="3">
	<tbody>
		<tr style="margin-right:10px;">
			<?php
				$p = 1;
				while($p < 5)
				{
			?>
			<td class="current" realwidth="267" realheight="457" ><a
				class="colorbox cboxElement"
				href="<?php echo base_url('upload/image/products/'.$product['image'.$p])  ?>"
				mainpicture="<?php echo base_url('upload/image/products/'.$product['image'.$p.'_thumb'])  ?>"
				target="_blank" rel="product_picture"><img
				alt="<?php echo $product['name'] ?>" 
				src="<?php echo base_url('upload/image/products/'.$product['image'.$p.'_thumb'])  ?>" height="31" width="40"></a></td>		
			<?php
					$p++;
				}
			?>				
		</tr>		
	</tbody>
</table>
<div class="clear"></div>
</div>
<script type="text/javascript">var totalProductPicture= 4;var curProductPicturePage= 1;var maxProductPicturePage= (totalProductPicture % 7 == 0 ? totalProductPicture / 7 : parseInt(totalProductPicture / 7) + 1);var arrPictureProductLoaded= Array();arrPictureProductLoaded[0]= 1;function changePictureProduct(ob){if(arrPictureProductLoaded[ob.index()] != 1){$(".product_detail .fl .picture_fullsize .loading").removeClass("hidden");}$(".product_detail .fl .picture_thumbnail td").removeClass("current");ob.addClass("current");fullpath= ob.find("a").attr("href");mainpath= ob.find("a").attr("mainPicture");html= '<img src="' + mainpath + '" onClick="productPictureColorbox(' + ob.index() + ')" />';zoom= 0;if(ob.attr("realWidth") > (400 * 1.2) || ob.attr("realHeight") > (400 * 1.2)){zoom= 1;}if(zoom == 1){zoomWidth= 250 + parseInt(((ob.attr("realWidth") - 400) / 400) * 100);zoomHeight= 250 + parseInt(((ob.attr("realHeight") - 400) / 400) * 100);html= '<a class="cloud-zoom" href="' + fullpath + '" target="_blank" rel="posX: ' + (400 + 210) + ', zoomWidth: ' + zoomWidth + ', zoomHeight: ' + zoomHeight + '">' + html + '</a>';}obImg= $(html);if(arrPictureProductLoaded[ob.index()] != 1){obImgLoad= (zoom == 1 ? obImg.find("img") : obImg);obImgLoad.load(function(){arrPictureProductLoaded[ob.index()]= 1;$(".product_detail .fl .picture_fullsize .loading").addClass("hidden");});}$(".product_detail .fl .picture_larger").html(obImg);if(zoom == 1){zoomTitle= "Giá: 10.700.000 VNĐ";if(typeof(ob.find("a").attr("tooltipContent")) != "undefined"){title= "";arrTemp= ob.find("a").attr("tooltipContent").split("@#@");name= htmlspecialbo(arrTemp[0]);price= (parseFloat(arrTemp[1]) > 0 ? parseFloat(arrTemp[1]) : 0);if(name != "")title += name;if(price > 0)title += ' - Giá: ' + addCommas(price) + ' VNĐ';if(title != "") zoomTitle = title;}zoomTitle+= " (Ảnh " + (ob.index()+1) + "/" + totalProductPicture + ")";obImg.find("img").attr("title", zoomTitle);$('.cloud-zoom, .cloud-zoom-gallery').CloudZoom();}}$(".product_detail .fl .picture_thumbnail td").mouseenter(function(){if($(this).is(".current")) return;changePictureProduct($(this));});if(curProductPicturePage < maxProductPicturePage){$(".product_detail .fl .left").click(function(){if(curProductPicturePage == 1) return;curProductPicturePage--;$(".product_detail .fl .picture_thumbnail").animate({ marginLeft: "+=329" }, 1000, "easeInOutBack");$(this).blur();});$(".product_detail .fl .right").click(function(){if(curProductPicturePage == maxProductPicturePage) return;curProductPicturePage++;$(".product_detail .fl .picture_thumbnail").animate({ marginLeft: "-=329" }, 1000, "easeInOutBack");$(this).blur();});}$(".product_detail .fl .picture_fullsize").prepend('<a class="previous" href="javascript:;" style="display:none"></a><a class="next" href="javascript:;" style="display:none"></a>').hover(function(){ $(this).find(".previous, .next").show(); },function(){ $(this).find(".previous, .next").hide(); }).find(".previous, .next, .loading").css("left", (isIE6 || isIE7 ? $(".product_detail .fl .picture_fullsize").offset().left : "auto"));var curProductPicture= 1;$(".product_detail .fl .previous, .product_detail .fl .next").click(function(){$(this).blur();if($(this).is(".previous")){curProductPicture--;if(curProductPicture < 1) curProductPicture = totalProductPicture;}else{curProductPicture++;if(curProductPicture > totalProductPicture) curProductPicture = 1;}ob= $(".product_detail .fl .picture_thumbnail td:eq(" + (curProductPicture-1) + ")");changePictureProduct(ob);});</script></div>
<div class="fr">
<h1><?php echo $product['name'] ?></h1>
<div class="estore_icon_verified estore_verified"></div>
<table class="product_detail_table" cellpadding="0" cellspacing="0"
	width="100%">
	<tbody>
		<tr class="product_price_tr">
			<td>
			<table cellpadding="0" cellspacing="0">
				<tbody>
					<tr>
						<td class="left" lang="vi" style="background: none;">Giá sản
						phẩm:</td>
						<td style="background: none;"><b class="price">&nbsp;<?php echo $product['price'] ?>
						VNĐ</b></td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>		
	</tbody>
</table>
<div class="break_module"></div>
<div class="other_information text_normal">Full box - trọn bộ phụ
kiện - mới 100%.</div>
<table class="product_detail_table" cellpadding="2" cellspacing="2"
	width="100%">
	<tbody>
		<tr>
			<td class="left"><span lang="vi">Cập nhật</span>:</td>
			<td class="right"><span title="<?php echo $product['modified_date'] ?>"><?php echo $product['modified_date'] ?></span></td>
			<td class="left"><span lang="vi"></span></td>
			<td class="right" lang="vi"></td>
		</tr>
		<tr>
			<td class="left"><span lang="vi">Tình trạng</span>:</td>
			<td class="right"><span title="<?php echo $product['modified_date'] ?>"><?php echo $product['status'] ?></span></td>
			<td class="left"><span lang="vi"></span></td>
			<td class="right" lang="vi"></td>
		</tr>
		<tr>
			<td class="left"><span lang="vi">Bảo hành</span>:</td>
			<td class="right"><?php echo $product['warranty'] ?> <span lang="vi">Tháng</span></td>
			<td class="left"><span lang="vi"></span></td>
			<td class="right" lang="vi"></td>
		</tr>
		<tr>
			<td class="left"><span lang="vi">Xuất xứ</span>:</td>
			<td class="right"><?php echo $product['origin'] ?><span lang="vi"></span></td>
			<td class="left"><span lang="vi"></span></td>
			<td class="right" lang="vi"></td>
		</tr>
		<tr>
			<td class="left"><span lang="vi">Vận chuyển</span>:</td>
			<td class="right" lang="vi">A Ngọc</td>
			<td class="left"><span lang="vi"></span></td>
			<td class="right"><span lang="vi"></span></td>
		</tr>
		<tr>
			<td class="left"><span lang="vi">Xem thêm</span>:</td>
			<td colspan="3"><a href="<?php echo base_url(); ?>"
				target="_blank" rel="nofollow" lang="vi">Tại website cửa hàng</a></td>
		</tr>
	</tbody>
</table>
<!-- Map company here -->
<div style="padding:10px 0px; text-align:center;">
	<img width="440px" border="0" src="<?php echo base_url('image/bando.png') ?>" />
</div>
<!-- Map company here -->
</div>
<div class="clear"></div>
</div>
</div>
<div class="module_bottom">
<div class="fl"></div>
<div class="fr"></div>
</div>
<div id="product_technical" class="module_larger_title">
<div class="L"></div>
<div class="C"><a
	href="http://www.vatgia.com/TranNamMobile&module=product&view=detail&record_id=2198479#product_technical"
	lang="vi">Thông số kỹ thuật</a></div>
<div class="R"></div>
</div>
<div class="module_larger padding">
<div class="product_technical_note text_normal" gtrans="vi"><b>Chú
ý:</b> Thông số kỹ thuật chỉ mang tính tham khảo, bạn hãy liên lạc trực tiếp
với cửa hàng để có được thông tin chính xác về sản phẩm. 
	<?php echo $product['detail'] ?>
</div>
<div id="technical_product" class="text_normal">

</div>
</div>
<div class="module_bottom">
<div class="fl"></div>
<div class="fr"></div>
</div>
<!--
<div id="other_product" class="module_larger_title">
<div class="L"></div>
<div class="C"><a
	href="http://www.vatgia.com/TranNamMobile&module=product&view=detail&record_id=2198479#other_product"
	lang="vi">Các sản phẩm khác</a></div>
<div class="R"></div>
</div>
<div class="module_larger padding">	
</div>
<div class="module_bottom">
<div class="fl"></div>
<div class="fr"></div>
</div>
-->
</div>